﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;

namespace KwaiXiaoDian.Entity.Common
{
    public class PagingParameter<TEntity>
    {
        public Expression<Func<TEntity, bool>> WherePredicate { get; set; }

        public Expression<Func<TEntity, object>> OrderByPredicate { get; set; }

        public Expression<Func<TEntity, object>> ThenByPredicate { get; set; }

        public Expression<Func<TEntity, object>> ThreeByPredicate { get; set; }

        public Enums.OrderByType OrderByType { get; set; }

        public Enums.OrderByType ThenByType { get; set; }

        public Enums.OrderByType ThreeByType { get; set; }

        public int PageIndex { get; set; }

        public int PageSize { get; set; }
    }
}
